import service from "../utils/request";

// 验证手机号是否被注册
export function user_docheckphone(payload = {} ){
    return service.post('/api/user/docheckphone', payload );
}
// 发送短信验证码
export function user_dosendmsgcode(payload = {} ){
    return service.post('/api/user/dosendmsgcode', payload );
}
// 验证短信验证码
export function user_docheckcode(payload = {} ){
    return service.post('/api/user/docheckcode', payload );
}
// 设置密码 
export function user_dofinishregister(payload = {} ){
    return service.post('/api/user/dofinishregister', payload );
}
// 登录
export function user_login(payload = {} ){
    return service.post('/api/user/login', payload );
}
